package com.sixteen.ordering_system.mapper;

import com.sixteen.ordering_system.pojo.Dish;
import com.sixteen.ordering_system.pojo.DishCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixteen.ordering_system.pojo.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sixteen
 * @since 2022-09-16
 */
@Mapper
public interface DishCategoryMapper extends BaseMapper<DishCategory> {

    List<DishCategory> selCategoryAll(String categoryName);

    List<DishCategory> category(String categoryName,Integer dishCategoryId);
    @Select("select * from  dish_category  ")
    List<DishCategory> selectCategory();

}
